package com.sgb.packers.view.adapter;

import android.content.Context;

import com.sgb.link.view.adapter.YoungBaseRecycleAdapter;
import com.sgb.packers.BR;
import com.sgb.packers.R;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import com.swgk.core.util.PickSelectEntity;

import java.util.List;

/**
 * @author : younghow
 * @date : 2021/11/25 15:51
 * description:
 */
public class SelectAdapter extends YoungBaseRecycleAdapter<PickSelectEntity> {


    public SelectAdapter(Context context, List<PickSelectEntity> data) {
        super(context, R.layout.packers_item_select, data);
    }


    @Override
    public void convert(ItemViewHolder holder, PickSelectEntity integer) {
        holder.setBinding(BR.name, integer);
    }
}
